//
//  QuestionModel.h
//  PigMarket
//
//  Created by 张敬 on 2019/9/16.
//  Copyright © 2019年 pigmarket.oc. All rights reserved.
//

#import "BaseParam.h"

NS_ASSUME_NONNULL_BEGIN


@class QuestionListModel, QuestionAnswersModel;
@interface QuestionModel : BaseParam

@property (nonatomic, strong) NSArray <QuestionListModel *> *list;


@end


@interface QuestionListModel : BaseParam

@property (nonatomic, strong) NSNumber *questionnaireId;
@property (nonatomic, copy) NSString *questionnaireQtitle;
@property (nonatomic, strong) NSArray <QuestionAnswersModel *> *answers;
@property (nonatomic, assign) BOOL isRadio; //是否是单选
@property (nonatomic, assign) NSInteger currentIndex;


@end

@interface QuestionAnswersModel : BaseParam
@property (nonatomic, strong) NSNumber *alternativeanswersId;
@property (nonatomic, strong) NSNumber *questionnaireId;
@property (nonatomic, copy) NSString *alternativeanswersTitle;
@property (nonatomic, copy) NSString *creationtime;

@end


NS_ASSUME_NONNULL_END
